package com.baidu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer uid;
    private String uname;
    private String upassword;
    private String upic;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date utime;
    private Integer ucount;
    private String uemil;
    private Integer uPower;
    private Integer ustate;
    private Integer pid;
    private Power power;
}
